﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using Volo.Abp;

namespace Business.Models
{
    /// <summary>
    /// 精确调拨-调拨明细
    /// </summary>
    public class AllocationDesc : AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        /// <summary>
        /// 调拨明细ID
        /// </summary>
        public Guid? TenantId { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int Number { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string SKU { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 现有库存
        /// </summary>
        public string HandInventory { get; set; }
        /// <summary>
        /// 调拨数量
        /// </summary>
        public string AllocationQuantity { get; set; }
        /// <summary>
        /// 出库仓库
        /// </summary>
        public string OutboundWarehouse { get; set; }
        /// <summary>
        /// 入库仓库
        /// </summary>
        public string IncomingWarehouse { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public string BatchNumber { get; set; }
        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 有效日期
        /// </summary>
        public string ValidDate { get; set; }
        /// <summary>
        /// 包装方式
        /// </summary>
        public string Packing { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Desc { get; set; }
        /// <summary>
        /// 关联id
        /// </summary>
        public Guid? CorrelationID { get; set; }
    }
}
